home *** CD-ROM | disk | FTP | other *** search
- class DebugWindow extends MovieClip
- {
- var interval_id;
- var Info;
- function DebugWindow()
- {
- super();
- this._name = "DebugWindow";
- _global[this._name] = this;
- }
- function watchRescuer()
- {
- this.interval_id = setInterval(this,"rescuerInfo",100);
- }
- function rescuerInfo()
- {
- this.Info.text = "";
- this.Info.text += "_alpha: " + _global.Rescuer._alpha + "\n";
- for(var _loc3_ in _global.Rescuer)
- {
- if(!(_global.Rescuer[_loc3_] instanceof Function) && !(_global.Rescuer[_loc3_] instanceof MovieClip) && !(_global.Rescuer[_loc3_] instanceof Object))
- {
- this.Info.text += _loc3_ + ": " + _global.Rescuer[_loc3_] + "\n";
- }
- }
- }
- }
-